package org.jeecg.modules.flowable.service.action;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.modules.flowable.service.bo.Attr;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Title:  <br>
 * Desc:  <br>
 * Date: 6/21/22 12:41 PM <br>
 * Company: 联通（辽宁）产业互联网有限公司 <br>
 *
 * @author zxd
 * @version 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ActionBody对象", description="")
public class ActionBody implements Serializable {
    @ApiModelProperty(value = "任务实例ID")
    private String matterInstId;
    @ApiModelProperty(value = "任务ID")
    private String taskId;
    @ApiModelProperty(value = "节点态度(1同意、2不同意、3已阅)")
    private Integer attType;
    @ApiModelProperty(value = "节点态度说明")
    private String attDesc;
    @ApiModelProperty(value = "节点表单数据")
    private Map<String,Object> formData;
    @ApiModelProperty(value = "节点附件")
    private List<Attr> attrList;
    @ApiModelProperty(value = "节点动作参数")
    private Map<String,Object> actionParam;

    @ApiModelProperty(value = "节点JSON数据")
    private String formContent;
}